package com.zbystudy.rtti;

import com.zbystudy.enums.BaseEnum;
import com.zbystudy.po.Pet;

/**
 * Created By zby on 17:05 2019/3/16
 */
public class FeedingPet {

    /**
     * Created By zby on 17:05 2019/3/16
     * 某种动物今天吃的是什么
     *
     * @param baseEnum 枚举类型 这里表示的时间
     * @param pet      宠物
     */
    public static void eatWhatToday(BaseEnum baseEnum, Pet pet) {
        System.out.println(pet.getName() + "今天" + baseEnum.getTitle() + "吃的" + pet.getFood());
    }

}
